//
//  AFNHttpsRequest.h
//  JWT
//
//  Created by Apple on 2017/1/1.
//  Copyright © 2017年 com.jwtsoft. All rights reserved.
//

#import <Foundation/Foundation.h>
//afn
typedef void (^DataDidFinishBlock)(id model,NSURLSessionDataTask *task,NSError *error);

@interface AFNHttpsRequest : NSObject
{
    //afn
    DataDidFinishBlock didFinishBlocks;
}


/**
 GET和POST请求

 @param url 可以为string和url
 @param param 为nil，则为GET;不为nil，则为POST
 @param didFinishBlock 返回值
 */
+(void) requestWithUrl:(id)url WithParam:(id)param WithGetDataDidFinishBlock:(DataDidFinishBlock)didFinishBlock;

@end
